#pragma once


typedef struct itemsNode {
	char name[10];
	itemsNode* next;
}itemsNode;


typedef struct itemsList {
	itemsNode* head;
	itemsNode* tail;
	int size;
}itemsList;



void managerView();

void managerEnter();


void changeItemsNode(itemsList* list, int n, char name[]);


void creatNode(itemsList* list);

void printNode(FILE* p, itemsList* list);

void printNodeToFile(FILE* p, itemsList* list);

void addItemsNode(itemsList* list, char node[]);


itemsNode* createNodeMille(itemsList* list);

void creatRace();


void govRace();

void addRace();

void addRaceProject();

void addRaceItem();

void deleteRace();

void deletRaceItem();

void deleteRaceItem();

void deleteRaceProject();


void enterP1();